import './assets/main.css'
import {createApp} from 'vue'
import App from './App.vue'
import router from "@/router";
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import locale from 'element-plus/dist/locale/zh-cn.js'
import {createPersistedState} from "pinia-persistedstate-plugin";
import {createPinia} from 'pinia'
// main.js引入初始化样式
import "./assets/index.css"



const pinia = createPinia()
const persist = createPersistedState();
const app = createApp(App)
pinia.use(persist)
app.use(ElementPlus, {locale}).use(router).use(pinia)

app.mount('#app')
